<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>文件上传</title>
<style type="text/css">
body {
	font-size: 12px;
}
</style>
</head>

<body style="overflow: hidden">
	<table id="oktable" width="100%" border="0" cellspacing="2"
		cellpadding="2">
		<tr>
			<td>上传结果:</td>
			<td><?php echo $errorString;?><input type="hidden"
				value="<?php echo $filepath?>" name="filepath" id="filepath" /></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td>仅支持: jpg,bmp,png,gif,swf 请注意上传图片的大小比例!</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td><?php if($filepath):?> <input type="button"
				onclick="closeWindow()" value="上传完毕" /> <?php else:?> <a
				href="<?php echo url('admin::interface/upload')?>">没有上传成功,重新上传</a> <?php endif?>
			</td>
		</tr>
	</table>
<script
	type="text/javascript"
	src="<?php echo $_BASE_DIR; ?>javascripts/jquery-1.4.4.min.js"></script>
	<script type="text/javascript">
$(parent.document.getElementById('oktable')).html($('#oktable').html());
</script>
</body>
</html>
